package cn.chrilwe.pigpig.user.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import cn.chrilwe.pigpig.core.model.user.Role;
import cn.chrilwe.pigpig.core.response.BaseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
  * 角色管理
 * @author chrilwe
 * 2020-9-3
 */
@RestController
@RequestMapping("/role")
@Api(tags = "角色管理接口")
public class RoleManagerController {

	@PostMapping("/add")
	@ApiOperation("添加角色")
	public BaseResult addRole(@RequestBody Role role) {
		
		return null;
	}

}
